package com.voltmao.persistent.model;

import org.mybatis.annotation.Field;
import org.mybatis.annotation.Table;

import java.io.Serializable;

/**
 * admin_menu_fun
 */
@Table(name = "admin_menu_fun")
public class AdminMenuFun implements Serializable {
    /**
     * 主键
     */
    public static final String DATAID = "dataId";

    /**
     * 主键
     */
    @Field(columnName = "data_id", jdbcType = "VARCHAR", javaType = String.class, length = 36, scale = 0)
    private String dataId;

    /**
     * 按钮图标
     */
    public static final String ICON = "icon";

    /**
     * 按钮图标
     */
    @Field(columnName = "icon", jdbcType = "VARCHAR", javaType = String.class, length = 255, scale = 0)
    private String icon;

    /**
     * 关联菜单ID
     */
    public static final String MENUCODE = "menuCode";

    /**
     * 关联菜单ID
     */
    @Field(columnName = "menu_code", jdbcType = "VARCHAR", javaType = String.class, length = 255, scale = 0)
    private String menuCode;

    /**
     * 请求地址
     */
    public static final String ACTIONURL = "actionUrl";

    /**
     * 请求地址
     */
    @Field(columnName = "action_url", jdbcType = "VARCHAR", javaType = String.class, length = 255, scale = 0)
    private String actionUrl;

    /**
     * 按钮名称
     */
    public static final String NAME = "name";

    /**
     * 按钮名称
     */
    @Field(columnName = "name", jdbcType = "VARCHAR", javaType = String.class, length = 255, scale = 0)
    private String name;

    /**
     * attbltr
     */
    public static final String ATTBLTR = "attbltr";

    /**
     * attbltr
     */
    @Field(columnName = "atTblTr", jdbcType = "INTEGER", javaType = Integer.class, length = 10, scale = 0)
    private Integer attbltr;

    private static final long serialVersionUID = 1L;

    /**
     * @return dataId
     * 主键
     */
    public String getDataId() {
        return dataId;
    }

    /**
     * @param dataId 主键
     */
    public void setDataId(String dataId) {
        this.dataId = dataId == null ? null : dataId.trim();
    }

    /**
     * @return icon
     * 按钮图标
     */
    public String getIcon() {
        return icon;
    }

    /**
     * @param icon 按钮图标
     */
    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    /**
     * @return menuCode
     * 关联菜单ID
     */
    public String getMenuCode() {
        return menuCode;
    }

    /**
     * @param menuCode 关联菜单ID
     */
    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode == null ? null : menuCode.trim();
    }

    /**
     * @return actionUrl
     * 请求地址
     */
    public String getActionUrl() {
        return actionUrl;
    }

    /**
     * @param actionUrl 请求地址
     */
    public void setActionUrl(String actionUrl) {
        this.actionUrl = actionUrl == null ? null : actionUrl.trim();
    }

    /**
     * @return name
     * 按钮名称
     */
    public String getName() {
        return name;
    }

    /**
     * @param name 按钮名称
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * @return attbltr
     * attbltr
     */
    public Integer getAttbltr() {
        return attbltr;
    }

    /**
     * @param attbltr attbltr
     */
    public void setAttbltr(Integer attbltr) {
        this.attbltr = attbltr;
    }
}